package com.moyu.user.domain.permission.dto;

import com.moyu.user.domain.permission.Permission;
import com.moyu.user.domain.role.Role;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 权限和角色映射数据传输对象
 *
 * @Author 赵彦博
 * @Date 2024/11/20 9:11
 */
@Data
@ToString
public class PermissionRoleDTO {

    private Permission permission;

    private List<Role> roles;

}
